﻿{% extends 'base.html' %}
{% load staticfiles %}
{% block css %}
	<link rel="stylesheet" type="text/css" href="{% static 'css/cloud-admin.css' %}" >
	<link rel="stylesheet" type="text/css" href="{% static 'css/themes/default.css' %}" id="skin-switcher" >
	<link rel="stylesheet" type="text/css"  href="{% static 'css/responsive.css' %}" >
	
	<link href="{% static 'font-awesome/css/font-awesome.min.css' %}" rel="stylesheet">
	<!-- DATE RANGE PICKER -->
	<link rel="stylesheet" type="text/css" href="{% static 'js/bootstrap-daterangepicker/daterangepicker-bs3.css' %}" />
	<!-- FULL CALENDAR -->
	<link rel="stylesheet" type="text/css" href="{% static 'js/fullcalendar/fullcalendar.min.css' %}" />
	<!-- UNIFORM -->
	<link rel="stylesheet" type="text/css" href="{% static 'js/uniform/css/uniform.default.min.css' %}" />
	<!-- FONTS -->
	<link href='http://fonts.useso.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'>
{% endblock css %}


	
	
{% block content %}
					<!-- /SIDEBAR -->
		<div id="main-content">
			<!-- SAMPLE BOX CONFIGURATION MODAL FORM-->
			<div class="modal fade" id="box-config" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
				  <div class="modal-content">
					<div class="modal-header">
					  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					  <h4 class="modal-title">Box Settings</h4>
					</div>
					<div class="modal-body">
					  Here goes box setting content.
					</div>
					<div class="modal-footer">
					  <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
					  <button type="button" class="btn btn-primary">Save changes</button>
					</div>
				  </div>
				</div>
			  </div>
			<!-- /SAMPLE BOX CONFIGURATION MODAL FORM-->
			<div class="container">
				<div class="row">
					<div id="content" class="col-lg-12">
						<!-- PAGE HEADER-->
						<div class="row">
							<div class="col-sm-12">
								<div class="page-header">
									<!-- STYLER -->
									
									<!-- /STYLER -->
									<!-- BREADCRUMBS -->
									<ul class="breadcrumb">
										<li>
											<i class="fa fa-home"></i>
											<a href="index.html">Home</a>
										</li>
										<li>Calendar</li>
									</ul>
									<!-- /BREADCRUMBS -->
									<div class="clearfix">
										<h3 class="content-title pull-left">Calendar</h3>
									</div>
									<div class="description">Dates and Events</div>
								</div>
							</div>
						</div>
						<!-- /PAGE HEADER -->
						<!-- CALENDAR -->
						<div class="row">
							<div class="col-md-12">
								<!-- BOX -->
								<div class="box border">
									<div class="box-title">
										<h4><i class="fa fa-calendar"></i>Calendar</h4>
										<div class="tools">
											<a href="#box-config" data-toggle="modal" class="config">
												<i class="fa fa-cog"></i>
											</a>
											<a href="javascript:;" class="reload">
												<i class="fa fa-refresh"></i>
											</a>
											<a href="javascript:;" class="collapse">
												<i class="fa fa-chevron-up"></i>
											</a>
											<a href="javascript:;" class="remove">
												<i class="fa fa-times"></i>
											</a>
										</div>
									</div>
									<div class="box-body">
										<div class="row">
											<div class="col-md-3">
												<div class="input-group">
													 <input type="text" value="" class="form-control" placeholder="Event Event Title..." id="event-title" />
													 <span class="input-group-btn">
														<a href="javascript:;" id="add-event" class="btn btn-success">Add Event</a>
													 </span>
											    </div>
												<div class="divide-20"></div>
												<div id='external-events'>
													<h4>Draggable Events</h4>
													<div id="event-box">
														<div class='external-event'>My Event 1</div>
														<div class='external-event'>My Event 2</div>
														<div class='external-event'>My Event 3</div>
														<div class='external-event'>My Event 4</div>
														<div class='external-event'>My Event 5</div>
													</div>
													<p>
													<input type='checkbox' id='drop-remove' class="uniform"/> <label for='drop-remove'>remove after drop</label>
													</p>
												</div>
											</div>
											<div class="col-md-9">
												<div id='calendar'></div>
											</div>
										</div>
									</div>
								</div>
								<!-- /BOX -->
							</div>
						</div>
						<!-- /CALENDAR -->
						<div class="footer-tools">
							<span class="go-top">
								<i class="fa fa-chevron-up"></i> Top
							</span>
						</div>
					</div><!-- /CONTENT-->
				</div>
			</div>
		</div>
{% endblock content %}	
	<!--/PAGE -->
	<!-- JAVASCRIPTS -->
	<!-- Placed at the end of the document so the pages load faster -->
	<!-- JQUERY -->
{% block js %}
	<script src="{% static 'js/jquery/jquery-2.0.3.min.js' %}"></script>
	<!-- JQUERY UI-->
	<script src="{% static 'js/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js' %}"></script>
	<!-- BOOTSTRAP -->
	<script src="{% static 'bootstrap-dist/js/bootstrap.min.js' %}"></script>
	
	
	<!-- UNIFORM -->
	<script type="text/javascript" src="{% static 'js/uniform/jquery.uniform.min.js' %}"></script>
	<!-- DATE RANGE PICKER -->
	<script src="{% static 'js/bootstrap-daterangepicker/moment.min.js' %}"></script>
	
	<script src="{% static 'js/bootstrap-daterangepicker/daterangepicker.min.js' %}"></script>
	<!-- SLIMSCROLL -->
	<script type="text/javascript" src="{% static 'js/jQuery-slimScroll-1.3.0/jquery.slimscroll.min.js' %}"></script><script type="text/javascript" src="js/jQuery-slimScroll-1.3.0/slimScrollHorizontal.min.js"></script>
	<!-- BLOCK UI -->
	<script type="text/javascript" src="{% static 'js/jQuery-BlockUI/jquery.blockUI.min.js' %}"></script>
	<!-- FULL CALENDAR -->
	<script type="text/javascript" src="{% static 'js/fullcalendar/fullcalendar.min.js' %}"></script>
	<!-- COOKIE -->
	<script type="text/javascript" src="{% static 'js/jQuery-Cookie/jquery.cookie.min.js' %}"></script>
	<!-- CUSTOM SCRIPT -->
	<script src="{% static 'js/script.js' %}"></script>
	<script>
		jQuery(document).ready(function() {		
			App.setPage("calendar");  //Set current page
			App.init(); //Initialise plugins and elements
		});
	</script>
{% endblock js %}
